package com.qtenv.datasync.service.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author CBL
 * @since 2022-06-23
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("test_data")
public class TestData {

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField("test_int")
    private Integer testInt;

    @TableField("test_str")
    private String testStr;

    @TableField("create_time")
    private LocalDateTime createTime;

    @TableField("update_time")
    private LocalDateTime updateTime;

    @TableField("version")
    private Integer version;

    @TableField("test_enum")
    private Integer testEnum;

    @TableField("tenant_id")
    private Long tenantId;


}
